package com.java.demo.service;

import com.java.demo.dao.UserRepository;
import com.java.demo.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lishuo
 * Date: 2023-09-02
 * Time: 10:16
 */
@Service
public class UserService {
    @Autowired
    private UserRepository userRepository;

    public User init(){
        return userRepository.init();
    }
}
